package com.cx.service.impl;

import com.cx.mapper.CountryMapper;
import com.cx.pojo.Country;
import com.cx.service.CountryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CountryServiceImpl implements CountryService {
    @Autowired
    private CountryMapper mapper;

    @Override
    public List<Country> selectByCountry() {
        return mapper.selectByExample(null);
    }
}
